package com.lakers.notice.springboot;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * 功能描述: NoticeAutoConfiguration
 *
 * @author liqin(zxl)
 * @date 2024/5/3
 */
@Configuration(proxyBeanMethods = false)
@ComponentScan("com.lakers.notice.springboot")
@EnableConfigurationProperties(NoticeProperties.class)
public class NoticeAutoConfiguration {

    @Bean
    public NoticeClient noticeClient(){
        return new NoticeClient();
    }
}
